package com.automannn.atm_back.modules.message.service.impl;

import com.automannn.atm_back.common.system.base.service.impl.AtmServiceImpl;
import com.automannn.atm_back.modules.message.entity.SysMessageTemplate;
import com.automannn.atm_back.modules.message.mapper.SysMessageTemplateMapper;
import com.automannn.atm_back.modules.message.service.ISysMessageTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chenkh
 * @time 2020/6/26 10:35
 */
@Service
public class SysMessageTemplateServiceImpl  extends AtmServiceImpl<SysMessageTemplateMapper, SysMessageTemplate> implements ISysMessageTemplateService {
    @Autowired
    private SysMessageTemplateMapper sysMessageTemplateMapper;


    @Override
    public List<SysMessageTemplate> selectByCode(String code) {
        return sysMessageTemplateMapper.selectByCode(code);
    }

}
